<template>
	11
	<router-view></router-view>
	<!-- <router-view v-slot="{ Component }">
		<keep-alive >
			<component :is="Component"  />
		</keep-alive>
	</router-view> -->
</template>

<script steup lang="ts">
import { onBeforeRouteLeave, onBeforeRouteUpdate } from 'vue-router';

onBeforeRouteLeave(() => {
	console.log("213123");
	// alert();
	// scrollTop.value = document.documentElement.scrollTop || 0
	// console.log(scrollTop.value);
})
</script>

<style lang="scss" scoped></style>